<%@ page  import="java.sql.*" contentType="text/html;charset=windows-1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0030)http://www.phrack.org/show.php -->
<HTML><HEAD><TITLE>www.phrack.org</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<%
   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
   String url = "jdbc:odbc:iranhk";
   Connection con = DriverManager.getConnection(url, "iranhk", "iranhk");
 
   PreparedStatement pst=con.prepareStatement(
     "select name,text from tb_news " +
     "where id=? "+
     "order by dat;"
   );
   int id=Integer.parseInt(request.getParameter("ID"));
   pst.setInt(1,id);
   ResultSet rst=pst.executeQuery();
   String name,text;
   
   rst.next();   
   name=rst.getString("NAME");
   text=rst.getString("TEXT");   
%>
<BODY text=#cfcfcf vLink=lightblue aLink=white link=skyblue bgColor=#000000 
leftMargin=0 topMargin=0 border="0" marginright="0" marginheight="0" 
marginwith="0">
<form>
 
      <TABLE cellSpacing=1 cellPadding=0 width="100%" bgColor=#000044 
        border=0 height="273"><TBODY>
        <TR>
          <TD bgColor=#000066 height="22">
            <TABLE cellSpacing=0 cellPadding=3 width="672" border=0>
              <TBODY>
              <TR>
                <TD align=center ><FONT face=Lucida,Verdana,Helvetica,Arial><B>
                    <%=name%>
                  </B></FONT>
                </TD>
            </TR></TBODY></TABLE>
          </TD>
        <TR> 
          <TD bgcolor="#000000"  align="left" valign="top" style="font-size: 8pt; font-family:Lucida Console" height="400">&nbsp;&nbsp;&nbsp;&nbsp;<br>
            <%=text%>
          </TD></TR></TBODY></TABLE>
</form>

</BODY></HTML>